---
title: efuse-tool工具介绍
description: "efuse-tool工具用于烧写熔丝器件，包括检查对应域段熔丝是否烧写，烧写是否正常以及对开放域段熔丝进行烧写。"
url: https://www.hiascend.com/document/detail/zh/Atlas%20200I%20A2/latest/RC/driverdevelopmentguide/atlasdg_11_0173.html
sourcePath: /source/zh/Atlas 200I A2/260RC1/RC/driverdevelopmentguide/atlasdg_11_0173.html
indexId: a3eaf1b30e20c55ad125006f49c66f04e8fa126caf60b5c64cd14bea1a03345878
---
# efuse-tool工具介绍

#### 命令功能

efuse-tool工具用于烧写熔丝器件，包括检查对应域段熔丝是否烧写，烧写是否正常以及对开放域段熔丝进行烧写。

熔丝器件一旦烧写无法回退，使用efuse-tool工具前请确认是否需要烧录对应功能域段，请谨慎操作，避免导致产品无法恢复到烧写前的功能，影响正常使用。


#### 命令格式

efuse-tool -h用于查询命令帮助信息。

efuse-tool 0 check -hboot2 用于查询hboot2域段是否被烧写。

efuse-tool 0 burn -hboot2 用于烧写hboot2域段。


#### 参数说明

| 类型 | 参数 | 描述 |
| --- | --- | --- |
| device\_id | 0 | 设备ID |
| option | \-hboot2 | 开放域段参数 |
| \- | \-h | 帮助信息 |
| \- | check | 检查参数 |
| \- | burn | 烧写参数 |


#### 注意事项

efuse-tool工具不支持在非root用户、虚拟机和容器下运行。


#### 使用示例

此处以Atlas 200I DK A2 开发者套件为例。

1. 登录Atlas 200I DK A2 开发者套件系统环境。
2. 使用WinSCP工具或其他工具，将下载软件包获取的工具包“efuse-tool.tar.gz”上传至root用户属组目录下，例如“/opt”。详细操作请参见使用WinSCP传输文件。
3. 执行如下命令，进入源码包所在目录“/opt”。
  cd /opt

4. 执行如下命令，解压源码包“efuse-tool.tar.gz”。
  tar -xzvf efuse-tool.tar.gz

5. 执行如下命令，进入工具包目录。
  cd efusetool

6. 执行如下命令，升级固件包。
  ./Ascend-hdk-310b-npu-firmware-soc_x.x.x.x.X.run --upgrade

7. 执行如下命令，升级驱动包。
  ./Ascend-hdk-310b-npu-driver-soc_<version>_linux-aarch64.run --upgrade

  若有软实时OS需求，该命令为./Ascend-hdk-310b-npu-driver-soc_<version>_linux-rt-aarch64.run --upgrade。

8. 执行如下命令，重启Atlas 200I DK A2 开发者套件。
  reboot

9. 待Atlas 200I DK A2 开发者套件启动完成后，执行如下命令，进入工具包目录。
  cd /opt/efusetool

10. 执行如下命令，查看Atlas 200I DK A2 开发者套件的“hboot2”域段是否被烧写。
  ./efuse-tool 0 check -hboot2

  出现如下回显，表示域段正常且未烧写。

```
The domain segment has not been burned
```


11. Atlas 200I DK A2 开发者套件的“hboot2”域段未被烧写时，执行如下命令进行烧写。
  ./efuse-tool 0 burn -hboot2

  出现如下回显，表示域段烧写成功。

```
The domain segment has been burned
```


12. 参见升级前必读~升级固件，将驱动与固件版本升级到客户使用的版本，保证业务正常使用。
